
//
//  SWNotPayDetailsTableViewCell.m
//  PropertyManager
//
//  Created by 黎世炜 on 2018/11/7.
//  Copyright © 2018年 Tng. All rights reserved.
//

#import "SWNotPayDetailsTableViewCell.h"

@interface SWNotPayDetailsTableViewCell()
@property (weak, nonatomic) IBOutlet UILabel *upStageLabel;
@property (weak, nonatomic) IBOutlet UILabel *currStageLabel;
@property (weak, nonatomic) IBOutlet UILabel *consumptionLabel;
@property (weak, nonatomic) IBOutlet UILabel *costTypeLabel;


@end

@implementation SWNotPayDetailsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

-(void)setModel:(NotPayDetailsModel *)model{
    _model = model;
    self.upStageLabel.text = [NSString stringWithFormat:@"%@度",model.nlast];
    self.currStageLabel.text = [NSString stringWithFormat:@"%@度",model.ncur];
    self.consumptionLabel.text = [NSString stringWithFormat:@"%@度",model.ndosage];
    self.costTypeLabel.text = model.faretype;
}

@end
